package com.original_01;

/**
 * @Author
 * @Create 2021/2/2
 */
public class RubberDuck extends Duck {

    @Override
    public void dispaly() {
        System.out.println("我是一只橡皮鸭！");
    }

    @Override
    public void quack() {
        System.out.println("吱吱吱");
    }

    @Override
    public void fly() {
        // 覆盖，什么也不做
    }
}
